#ifndef MYPUSHBUTTON_H
#define MYPUSHBUTTON_H

#include <QPushButton>

class MyPushButton : public QPushButton
{
    Q_OBJECT
public:
    MyPushButton(QString normalImage,QString pressImage="",int size1 = 1.5,int size2 = 1.5);
    QString normalImagePath;
    QString pressImagePath;
    void zoom1();//图片向上跳
    void zoom2();//图片向下跳
    void mousePressEvent(QMouseEvent * ev);
    void mouseReleaseEvent(QMouseEvent * ev);
signals:

};

#endif // MYPUSHBUTTON_H
